package com.rich.broker.mapper;

import com.rich.broker.vo.WantVo;
import com.rich.common.entity.TbWant;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TbWantMapper {

    /**
     * 获取下级区域
     * @param
     * @return List<TbWant>
     */
    List<TbWant> findAll();

    /**
     * 求租求购模糊查询
     * @Author: zdy
     * @Date:  下午 2:30
     * @param want
     * @param status
     * @return java.util.List<com.rich.broker.vo.WantVo>
     **/

    List<WantVo> findByStatus(@Param("want")TbWant want, @Param("status") String status);
}